package com.cn.wanxi.IO;

public class ProductModelIO {

    private String[] imgHrefs = {"../img/48_j53b.jpg", "../img/48_j53b.jpg"};
    private String[] titles = {"蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树", "蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树蚂蚁上树"};
    private String[] contents = {" 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。", " 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。 粉丝200g,猪肉馅50克。"};
    private String[] detailHrefs = {"#", "#"};


    private String[] imgHrefForCompanyPage = {"../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg", "../img/9_8hh4.jpg"};

    public String[] getImgHrefForCompanyPage() {
        return imgHrefForCompanyPage;
    }

    public String[] getImgHrefs() {
        return imgHrefs;
    }

    public String[] getTitles() {
        return titles;
    }

    public String[] getContents() {
        for (int i = 0; i < contents.length; i++) {
            contents[i] = contents[i].replace(",", "%%%");
        }
        return contents;
    }

    public String[] getDetailHrefs() {
        return detailHrefs;
    }

}
